package edu.ssm.campusAssistant.bo.rsp;

/**
 * 标题:Boolean类型的返回基类
 * 描述:
 *
 * @autho LXF
 * @date 2019/4/8 15:52
 */
public class RspBooleanBO extends RspBO {
    private static final long serialVersionUID = -6776888993390557758L;
    /**
     * 是否成功
     */
    private Boolean isSuccess;

    /**
     * 返回描述
     */
    private String remark;

    public RspBooleanBO() {
    }

    public RspBooleanBO(Boolean isSuccess, String remark) {
        this.isSuccess = isSuccess;
        this.remark = remark;
    }


    public Boolean getSuccess() {
        return isSuccess;
    }

    public void setSuccess(Boolean success) {
        isSuccess = success;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "RspBooleanBO{" +
                "isSuccess=" + isSuccess +
                ", remark='" + remark + '\'' +
                '}';
    }
}
